<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8" isELIgnored="false"%>

<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html>
<html>
<script src="http://how2j.cn/study/js/jquery/2.0.0/jquery.min.js"></script>
<link href="http://how2j.cn/study/css/bootstrap/3.3.6/bootstrap.min.css" rel="stylesheet">
<script src="http://how2j.cn/study/js/bootstrap/3.3.6/bootstrap.min.js"></script>
</head>
<body>
	<form method="post">
		<div class="div_4">
				<table class="table table-bordered">
					<tr height="10px">
						<th>是否有教材</th>
						<th>课程名称</th>
						<th>课程代码</th>
						<th>教师姓名</th>
						<th>上课时间</th>
						<th>上课地点</th>
						<th>学分</th>
						<th>周学时</th>
						<th>起始结束周</th>
						<th>容量</th>
						<th>余量</th>
						<th>课程性质</th>
						<th>开课学院</th>
						<th>考试时间</th>
						<th>操作</th>
					</tr>
					<!--课程供选数据填充处-->
					<s:iterator value="#request.cruObjects">
						<tr>
							<td><s:if test="bookname.length()>0"><s:property value="bookname"/></s:if>
							<s:else>无</s:else></td>
							<td><s:property value="objname"/></td>
							<td><s:property value="objnum"/></td>
							<td><s:property value="teaname"/></td>
							<td><s:property value="objtime"/></td>
							<td><s:property value="place"/></td>
							<td><s:property value="credits"/></td>
							<td><s:property value="ltimes"/></td>
							<td><s:property value="objtime"/></td>
							<td><s:property value="allowance"/></td>
							<td><s:property value="capacity"/></td>
							<td><s:if test="objnature=0">选修</s:if><s:if test="objnature=1">必修</s:if></td>
							<td><s:property value="clgname"/></td>
							<td><s:property value="examtime"/></td>
							<td>
								<a href="<s:url action="objectdelete">
											<s:param name="cruObject.objnum"><s:property value="objnum"/></s:param> 
										 </s:url>">删除/</a>
								<a href="<s:url action="turntoupdateobject">
											<s:param name="cruObject.objnum"><s:property value="objnum"/></s:param> 
										</s:url>">修改</a>
							</td>
						</tr>
					</s:iterator>
				</table>
		</div>
	</form>
</body>
</html>